06. Tree Anatomy

Tree Anatomy

Now that we've seen our first example of a decision tree, let's briefly cover some tree anatomy.

internal nodes are points along the tree where the predictor space is split .

terminal nodes or leaves are the nodes at the bottom of the tree, which are not split (in the sense that the leaves are at the bottom of the tree, decision trees are upside down ).

branches are the segments of the tree that connect the nodes.

The depth is the number of levels in the tree.

Tree Anatomy Quiz

QUIZ QUESTION: :

How many internal nodes, terminal nodes, and levels does the tree in the picture above have?

ANSWER CHOICES:



Property

Number

4

2

3

3

6

2

SOLUTION:

Property

Number

2

2

3

3

2

2